home *** CD-ROM | disk | FTP | other *** search
/ PCNet 1998 June / PCnet Haziran 1998.iso / Internet / Tools / ANJAVA10.ZIP / DATA1.CAB / Program_Executable_Files / Applet / life2d / life2d.txt < prev    next >
Encoding:
Text File  |  1998-04-23  |  4.7 KB  |  90 lines

  1.  
  2.           Anfy Life2d 2.1 - Copyright (C) by Fabio Ciucci 1996/98
  3.  
  4.  
  5. This applet can generate and simulate in realtime an Artificial Life,
  6. using Conway algorythm... the result is a sort of unicellular life.
  7. Remember that are needed both life2d.class , Lware.class and anfy.class.
  8. You must upload these 3 .class files and insert the <applet> tag on your
  9. html document to add this applet to your page.
  10. This applet is fully parametrized, so you can change many things to
  11. adapt the effect to your pages and purposes.
  12. Here an example of what you have to write in the html (the things after
  13. the ; are comments with min-max values acceptet):
  14.  
  15.  
  16. <applet code="life2d.class" width=180 height=160>  ; Name, Width, Height
  17. <param name=credits value="Applet by Fabio Ciucci (www.anfiteatro.it/java.html)">
  18. <param name=regcode value="NO">         ; Register code (if you have it)
  19. <param name=reglink value="NO">         ; URL where go optionally when clicked
  20. <param name=regnewframe value="YES">    ; Reglink opened in new frame?
  21. <param name=regframename value="_blank"> ; Name of new frame for reglink
  22. <param name=statusmsg value="Life2d applet">  ; Statusbar message
  23. <param name=res value="2">            ; Resolution (1-8)
  24. <param name=backR value="20">         ; RED comp. of backg. color (0-255)
  25. <param name=backG value="20">         ; GREEN comp. of backg. color (0-255)
  26. <param name=backB value="230">        ; BLUE comp. of backg. color (0-255)
  27. <param name=foreR value="250">        ; RED comp. of foregr. color (0-255)
  28. <param name=foreG value="250">        ; GREEN comp. of foregr. color (0-255)
  29. <param name=foreB value="60">         ; BLUE comp. of foregr. color (0-255)
  30. <param name=ldensity value="2">       ; Initial life density (1-9)
  31. <param name=textscroll value="tcubescr.txt"> ; File for scrolltext or "NO"
  32. <param name=textoffset value="140">          ; Txtscroll y offset
  33. <param name=textspeed value="1">          ; Txtscroll speed
  34. <param name=textfont value="Arial">       ; Txtscroll font name
  35. <param name=textbold value="NO">          ; Txtscroll bold ("YES" or "NO")
  36. <param name=textsize value="24">          ; Txtscroll font size
  37. <param name=textshadow value="YES">       ; Txtscroll shadow ("YES" or "NO")
  38. <param name=TextColR value="200">         ; Txtscroll color (red component)
  39. <param name=TextColG value="255">         ; Txtscroll color (green component)
  40. <param name=TextColB value="190">         ; Txtscroll color (blue component)
  41. <param name=TextSColR value="20">         ; Txtscroll shadow col. (red c.)
  42. <param name=TextSColG value="20">         ; Txtscroll shadow col. (green c.)
  43. <param name=TextSColB value="50">         ; Txtscroll shadow col. (blue c.)
  44. <param name=TextJumpAmp value="0">        ; Txtscroll jump aplitude
  45. <param name=TextJumpSpd value="0">        ; Txtscroll jump speed
  46. <param name=TextSineAmp value="0">        ; Txtscroll sineshape amplitude        
  47. <param name=TextSineSpd value="0">        ; Txtscroll sineshape movement
  48. <param name=TextSineAngle value="0">      ; Txtscroll sineangle / pixel  
  49. <param name=memdelay value="1000">    ; Memory deallocation delay
  50. <param name=priority value="3">       ; Task priority (1..10)
  51. <param name=MinSYNC value="10">           ; Min. milliseconds/frame for sync
  52. Your browser doesn't suppor Java.     ; Msg in no java browsers
  53. </applet>                             ; End of classtag
  54.  
  55.                              ---------
  56.  
  57.  
  58. Here detailed instructions about how to change parameters:
  59.  
  60.  
  61. The credits parameter can't be changed otherwise the applet will not work.
  62.  
  63. To activate the reg parameters read the shareware registration notes.
  64. In the "regcode" parameter you have to place the registration code you
  65. purchase from the author. If it is correct and the applet is run from the
  66. registered domain name, you can use "reglink" parameter, where you can specify
  67. an URL where bring user when the applet is clicked.
  68. If you set to "YES" regnewframe, you can specify a frame where load the
  69. reglink:
  70.  
  71. "_blank"  : To load the link in a new blank unnamed browser window.
  72. "_self"   : To load the link into the same window the applet occupies.
  73. "_parent" : To load the link into the immediate FRAMESET parent.
  74. "_top"    : To load the link into the top body of the window.
  75.  
  76. Otherwise the frame name, for example "myframe1".
  77.  
  78. The size of the applet is determined by width and height tags.
  79.  
  80. The res parameter determine the resolution: with res=1 pixels are small,
  81. but effect is slow, with res=8 pixels are too great but effect fast.
  82. I think the best choices are 2-4.
  83.  
  84. You can change the background and foreground colours for best results over
  85. your web page, the RGB values are same as HTML tags, but in decimal values.
  86.  
  87. The "ldensity" parameter determine the amount of lifeforms at beginning.
  88.  
  89.  
  90.